typedef struct point
{
    double x, y;
};
typedef struct line
{
    point s, e;
}